package com.byit.Test.Mytest1;

/**
 * @ClassName Thread3
 * @Description TODO
 * @Author lxp
 * @Date 2018/10/8 0008
 **/
public class Thread3 extends Thread {

    private String name;

    public Thread3(String name) {
        this.name = name;
    }

    @Override
    public void run() {
        int count = 10;
        while (count > 0) {
            System.out.println(name);
            count--;
        }


    }
}
